package com.hbzhit.common.shiro.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * shiro的绘画数据对象
 *
 * @author Tiger.Zhang
 * date 2019/11/11 15:34
 **/
@Setter
@Getter
@TableName("shiro_session")
public class SessionEntity {

    @TableId(type = IdType.INPUT)
    private String id;
    private Long userId;
    private byte[] content;
    private Date createTime;
    private Date updateTime;
}
